import request from '@/utils/request'

export function getTaskCategoryList() {  // 任务类别列表
  return request({
    url: '/taskcategory/list',
    method: 'get'
  })
}

export function creatTaskCategory(params) {  // 新增任务类别
  return request({
    url: '/taskcategory/insert',
    method: 'post',
    data: params
  })
}
